package com.ty.day1.home;

import java.util.Arrays;

/**
 * Created by IntelliJ IDEA.
 *
 * @author : txy
 * @create : 2023/11/22 18:13
 */
public class Task4 {
    public static void main(String[] args) {
        String s= "垂帘画阁画帘垂";
        Boolean result = Util.isHuiWen(s);
        if (result!=null){
            if(result){
                System.out.println(s+" 是回文");
            }else {
                System.out.println(s+" 不是回文");
            }
        }else {
            System.out.println("传递的参数为空");
        }
    }

}
